package ru.cod.rs.ztest;

import ru.cod.rs.objects.StateObject;
import ru.cod.rs.ztest.ints.Body;
import ru.cod.rs.ztest.ints.Chassis;
import ru.cod.rs.ztest.ints.Weapon;

public abstract class AbstractUnit extends StateObject {

	public AbstractUnit(int x, int y) {

	}

	// /////////////////////////////////////////////

	private Body body;
	private Chassis chassis;
	private Weapon weapon;

	// /////////////////////////////////////////////

	/**
	 * @return the body
	 */
	public Body getBody() {
		return body;
	}

	/**
	 * @param body
	 *            the body to set
	 */
	public void setBody(Body body) {
		this.body = body;
	}

	/**
	 * @return the chassis
	 */
	public Chassis getChassis() {
		return chassis;
	}

	/**
	 * @param chassis
	 *            the chassis to set
	 */
	public void setChassis(Chassis chassis) {
		this.chassis = chassis;
	}

	/**
	 * @return the weapon
	 */
	public Weapon getWeapon() {
		return weapon;
	}

	/**
	 * @param weapon
	 *            the weapon to set
	 */
	public void setWeapon(Weapon weapon) {
		this.weapon = weapon;
	}

}
